package main

import (
	"fmt"
)

func main() {
	fmt.Println("Are you Ok!")
	a := test
	test02(10, 3.19, test)
	test02(10, 3.1415, a)

	type myInt int
	var num1 myInt = 30
	fmt.Println("num1 = ", num1)

	var num2 int = 30
	num2 = int(num1)
	fmt.Println("num2 = ", num2)

}

type myFunc func(int)

func test3(num1 int, num2 float32, testFunc myFunc) {
	fmt.Println("num1 = ", num1, " num2 = ", num2)
}

func test02(num1 int, num2 float32, testFunc func(int)) {
	fmt.Println("------------------test02")
}

func test(num int) {
	fmt.Println(num)
}
